package com.h2.ref.server.user.model;

import java.util.Date;

public class UserDetails {

   private Integer _id;

   private String _email;
   
   private Date _birthday;
   
   private UserOnlineStatus _onlineStatus;
   
   ////
   ////
   
   public UserDetails copy() {
      UserDetails copy = new UserDetails();
      copy.setId(getId());
      copy.setEmail(getEmail());
      
      return copy;
   }

   /**
    * @return the id
    */
   public Integer getId() {
      return _id;
   }

   /**
    * @param id the id to set
    */
   public void setId(Integer id) {
      _id = id;
   }

   /**
    * @return the email
    */
   public String getEmail() {
      return _email;
   }

   /**
    * @param email the email to set
    */
   public void setEmail(String email) {
      _email = email;
   }

   /**
    * @return the birthday
    */
   public Date getBirthday() {
      return _birthday;
   }

   /**
    * @param birthday the birthday to set
    */
   public void setBirthday(Date birthday) {
      _birthday = birthday;
   }

   /**
    * @return the onlineStatus
    */
   public UserOnlineStatus getOnlineStatus() {
      return _onlineStatus;
   }

   /**
    * @param onlineStatus the onlineStatus to set
    */
   public void setOnlineStatus(UserOnlineStatus onlineStatus) {
      _onlineStatus = onlineStatus;
   }
   
}
